/*
 * @Author: ShiJunJie
 * @Date: 2020-11-03 10:01:50
 * @LastEditors: ShiJunJie
 * @LastEditTime: 2021-09-08 14:47:37
 * @Descripttion:
 */

export const asyncRouterMap = []

export const constantRouterMap = [
  //后台界面
  {
    path: '/',
    redirect: '/home',
    component: () => import('/@/App.vue'),
    children: [
      {
        path: '/home',
        name: '首页',
        component: () => import('/@/views/home/Home.vue')
      },
      {
        path: '/user',
        redirect: '/user/login',
        name: '用户',
        component: () => import('/@/views/user/Login.vue'),
        children: [
          {
            path: 'login',
            name: '登录',
            component: () => import('/@/views/user/Login.vue')
          }
        ]
      }
    ]
  },
  //默认404
  {
    path: '/404',
    name: '404',
    component: () => import('/@/views/exception/404.vue')
  }
]
